﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Report_HoaDon" targetNamespace="http://tempuri.org/Report_HoaDon.xsd" xmlns:mstns="http://tempuri.org/Report_HoaDon.xsd" xmlns="http://tempuri.org/Report_HoaDon.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="QuanLyPhongTroConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="QuanLyPhongTroConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.QuanLyPhongTroDevLinQ.Properties.Settings.GlobalReference.Default.QuanLyPhongTroConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DanhSachHoaDonTableAdapter" GeneratorDataComponentClassName="DanhSachHoaDonTableAdapter" Name="DanhSachHoaDon" UserDataComponentName="DanhSachHoaDonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="QuanLyPhongTroConnectionString (Settings)" DbObjectName="QuanLyPhongTro.dbo.DanhSachHoaDon" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.DanhSachHoaDon</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Mã Hóa Đơn" DataSetColumn="Mã Hóa Đơn" />
              <Mapping SourceColumn="Mã Phòng" DataSetColumn="Mã Phòng" />
              <Mapping SourceColumn="Ngày Lập" DataSetColumn="Ngày Lập" />
              <Mapping SourceColumn="SoDien" DataSetColumn="SoDien" />
              <Mapping SourceColumn="SoCu" DataSetColumn="SoCu" />
              <Mapping SourceColumn="Tiền Điện" DataSetColumn="Tiền Điện" />
              <Mapping SourceColumn="soNuoc" DataSetColumn="soNuoc" />
              <Mapping SourceColumn="Tiền Nước" DataSetColumn="Tiền Nước" />
              <Mapping SourceColumn="Tiền Phòng" DataSetColumn="Tiền Phòng" />
              <Mapping SourceColumn="Tổng" DataSetColumn="Tổng" />
              <Mapping SourceColumn="Nợ" DataSetColumn="Nợ" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Report_HoaDon" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="Report_HoaDon" msprop:Generator_UserDSName="Report_HoaDon">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DanhSachHoaDon" msprop:Generator_TableClassName="DanhSachHoaDonDataTable" msprop:Generator_TableVarName="tableDanhSachHoaDon" msprop:Generator_TablePropName="DanhSachHoaDon" msprop:Generator_RowDeletingName="DanhSachHoaDonRowDeleting" msprop:Generator_RowChangingName="DanhSachHoaDonRowChanging" msprop:Generator_RowEvHandlerName="DanhSachHoaDonRowChangeEventHandler" msprop:Generator_RowDeletedName="DanhSachHoaDonRowDeleted" msprop:Generator_UserTableName="DanhSachHoaDon" msprop:Generator_RowChangedName="DanhSachHoaDonRowChanged" msprop:Generator_RowEvArgName="DanhSachHoaDonRowChangeEvent" msprop:Generator_RowClassName="DanhSachHoaDonRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Mã_x0020_Hóa_x0020_Đơn" msprop:Generator_ColumnVarNameInTable="columnMã_Hóa_Đơn" msprop:Generator_ColumnPropNameInRow="Mã_Hóa_Đơn" msprop:Generator_ColumnPropNameInTable="Mã_Hóa_ĐơnColumn" msprop:Generator_UserColumnName="Mã Hóa Đơn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mã_x0020_Phòng" msprop:Generator_ColumnVarNameInTable="columnMã_Phòng" msprop:Generator_ColumnPropNameInRow="Mã_Phòng" msprop:Generator_ColumnPropNameInTable="Mã_PhòngColumn" msprop:Generator_UserColumnName="Mã Phòng" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Ngày_x0020_Lập" msprop:Generator_ColumnVarNameInTable="columnNgày_Lập" msprop:Generator_ColumnPropNameInRow="Ngày_Lập" msprop:Generator_ColumnPropNameInTable="Ngày_LậpColumn" msprop:Generator_UserColumnName="Ngày Lập" type="xs:dateTime" minOccurs="0" />
              <xs:element name="SoDien" msprop:Generator_ColumnVarNameInTable="columnSoDien" msprop:Generator_ColumnPropNameInRow="SoDien" msprop:Generator_ColumnPropNameInTable="SoDienColumn" msprop:Generator_UserColumnName="SoDien" type="xs:int" minOccurs="0" />
              <xs:element name="SoCu" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSoCu" msprop:Generator_ColumnPropNameInRow="SoCu" msprop:Generator_ColumnPropNameInTable="SoCuColumn" msprop:Generator_UserColumnName="SoCu" type="xs:int" minOccurs="0" />
              <xs:element name="Tiền_x0020_Điện" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTiền_Điện" msprop:Generator_ColumnPropNameInRow="Tiền_Điện" msprop:Generator_ColumnPropNameInTable="Tiền_ĐiệnColumn" msprop:Generator_UserColumnName="Tiền Điện" type="xs:decimal" minOccurs="0" />
              <xs:element name="soNuoc" msprop:Generator_ColumnVarNameInTable="columnsoNuoc" msprop:Generator_ColumnPropNameInRow="soNuoc" msprop:Generator_ColumnPropNameInTable="soNuocColumn" msprop:Generator_UserColumnName="soNuoc" type="xs:int" minOccurs="0" />
              <xs:element name="Tiền_x0020_Nước" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTiền_Nước" msprop:Generator_ColumnPropNameInRow="Tiền_Nước" msprop:Generator_ColumnPropNameInTable="Tiền_NướcColumn" msprop:Generator_UserColumnName="Tiền Nước" type="xs:decimal" minOccurs="0" />
              <xs:element name="Tiền_x0020_Phòng" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTiền_Phòng" msprop:Generator_ColumnPropNameInRow="Tiền_Phòng" msprop:Generator_ColumnPropNameInTable="Tiền_PhòngColumn" msprop:Generator_UserColumnName="Tiền Phòng" type="xs:decimal" minOccurs="0" />
              <xs:element name="Tổng" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTổng" msprop:Generator_ColumnPropNameInRow="Tổng" msprop:Generator_ColumnPropNameInTable="TổngColumn" msprop:Generator_UserColumnName="Tổng" type="xs:decimal" minOccurs="0" />
              <xs:element name="Nợ" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNợ" msprop:Generator_ColumnPropNameInRow="Nợ" msprop:Generator_ColumnPropNameInTable="NợColumn" msprop:Generator_UserColumnName="Nợ" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>